package com.umpay.dto.merBusi.req.warrant;

import com.umpay.annotation.Pattern;
import org.hibernate.validator.constraints.NotEmpty;

public class WarrantSplitCmdBusi {
	
	/**
	 * 商户分账订单号
	 */
	@NotEmpty(message = "商户分账订单号不能为空")		
	@Pattern(message = "商户分账订单号格式不正确")
	private String splitOrderId;	
	
	/**
	 * 商户分账订单日期
	 */
	@NotEmpty(message = "商户分账订单日期不能为空")		
	@Pattern(message = "商户分账订单日期格式不正确")
	private String splitOrderDate;	
	
	/**
	 * 收款方用户号
	 */
	@NotEmpty(message = "收款方用户号不能为空")		
	@Pattern(message = "收款方用户号格式不正确")
	private String inUserId;	
	
	/**
	 * 收款方账户类型
	 */
	private String inAccType;	
	
	/**
	 * 分账类型    1：百分比(暂不支持) 2：固定金额
	 */
	@NotEmpty(message = "金额不能为空")		
	@Pattern(message = "金额格式不正确")
	private String splitCategory;	
	
	/**
	 * 分账金额
	 */
	@NotEmpty(message = "金额不能为空")		
	@Pattern(message = "金额格式不正确")
	private String splitAmount;	
	
	/**
	 * 比例
	 */
	@NotEmpty(message = "金额不能为空")		
	@Pattern(message = "金额格式不正确")
	private String percent;	
	
	/**
	 * 是否手续费承担方 ，只能有一方
	 */
	@NotEmpty(message = "是否手续费承担方不能为空")		
	@Pattern(message = "是否手续费承担方格式不正确")
	private String isFeePayer;

	public String getSplitOrderId() {
		return splitOrderId;
	}

	public void setSplitOrderId(String splitOrderId) {
		this.splitOrderId = splitOrderId;
	}

	public String getSplitOrderDate() {
		return splitOrderDate;
	}

	public void setSplitOrderDate(String splitOrderDate) {
		this.splitOrderDate = splitOrderDate;
	}

	public String getInUserId() {
		return inUserId;
	}

	public void setInUserId(String inUserId) {
		this.inUserId = inUserId;
	}

	public String getInAccType() {
		return inAccType;
	}

	public void setInAccType(String inAccType) {
		this.inAccType = inAccType;
	}

	public String getSplitCategory() {
		return splitCategory;
	}

	public void setSplitCategory(String splitCategory) {
		this.splitCategory = splitCategory;
	}

	public String getSplitAmount() {
		return splitAmount;
	}

	public void setSplitAmount(String splitAmount) {
		this.splitAmount = splitAmount;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

	public String getIsFeePayer() {
		return isFeePayer;
	}

	public void setIsFeePayer(String isFeePayer) {
		this.isFeePayer = isFeePayer;
	}

	@Override
	public String toString() {
		return "WarrantSplitCmdBusi [splitOrderId=" + splitOrderId + ", splitOrderDate=" + splitOrderDate
				+ ", inUserId=" + inUserId + ", inAccType=" + inAccType + ", splitCategory=" + splitCategory
				+ ", splitAmount=" + splitAmount + ", percent=" + percent + ", isFeePayer=" + isFeePayer + "]";
	}

}
